package com.smartstate.dataManagement.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("topic")
public class Topic implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "id", fill = FieldFill.INSERT)
    private String id;

    /**
     * deviceId
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "deviceId", fill = FieldFill.INSERT)
    private String deviceId;


    /**
     * 盒子名称
     */
    @ApiModelProperty(value = "盒子名称")
    @TableField(value = "deviceName")
    private String deviceName;

    /**
     * 盒子类型
     */
    @ApiModelProperty(value = "盒子类型")
    @TableField(value = "deviceType")
    private String deviceType;

    /**
     * 盒子初始topic
     */
    @ApiModelProperty(value = "盒子初始topic")
    @TableField(value = "newTopic")
    private String newTopic;

}
